" Files + devicons

highlight! link NERDTreeFlags NERDTreeDir

command! -bang -nargs=* Ag
            \ call fzf#vim#ag(<q-args>,
            \                 <bang>0 ? fzf#vim#with_preview({'options': '--delimiter : --nth 4..'}, 'up:60%')
            \                         : fzf#vim#with_preview({'options': '--delimiter : --nth 4..'}, 'right:50%', '?'),
            \                 <bang>0)

" Undo buffer
if has('persistent_undo')      "check if your vim version supports it
    set undofile                 "turn on the feature
    set undodir=$HOME/.vim/undo  "directory where the undo files will be stored
endif

source ~/.config/nvim/plugs.vim
source ~/.config/nvim/options.vim
source ~/.config/nvim/autocmd.vim
source ~/.config/nvim/functions.vim
source ~/.config/nvim/keymaps.vim


luafile ~/.config/nvim/lua/treesitter.lua
luafile ~/.config/nvim/lua/cmp_custom.lua
source ~/.config/nvim/colors.vim
source ~/.config/nvim/db.vim
source ~/.config/nvim/dbui.vim


set conceallevel=2
set signcolumn=auto


" let g:coc_node_path='/usr/bin/node'



let g:Lf_WindowPosition = 'bottom'
let g:Lf_WindowHeight = 0.4

